import request from '@/utils/request'
// 获取订单详情

export function getWaybillList(data) {
  return request({
    url: '/transport-order-manager/page',
    method: 'post',
    data
  })
}
// 获取运单统计数据
export function waybillStatic() {
  return request({
    url: '/transport-order-manager/count',
    method: 'get'
  })
}
// 查询调度配置
export const getDispatch = () => {
  return request.get('/dispatch-configuration-manager')
}

// 保存调度配置
export const setDispatch = (data) => {
  return request.post('/dispatch-configuration-manager', data)
}

// 获取运单详情
export const getWaybillDetail = (id) => {
  return request.get('/transport-order-manager/' + id)
}
